package com.xk857.pojo.vo;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


/**
 * 红绿灯配置信息 - 返回结果封装
 * @Author CV大魔王
 * @Date 2020.1.20
 */
@ApiModel("返回结果封装 - 路口红绿灯配置")
@Data
public class TrafficLightConfigurationResult {



    @ApiModelProperty("红灯时长")
    private Integer redTime;

    @ApiModelProperty("绿灯时长")
    private Integer greenTime;

    @ApiModelProperty("黄灯时长")
    private Integer yellowTime;

    public TrafficLightConfigurationResult() {
    }

    public TrafficLightConfigurationResult(Integer redTime, Integer greenTime, Integer yellowTime) {
        this.redTime = redTime;
        this.greenTime = greenTime;
        this.yellowTime = yellowTime;
    }
}
